// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 

package com.example.yimaencdemoforandroid40;

import java.util.ArrayList;
import java.util.List;

public class ShipItem
{
	String cn;
	String company;
	String course;
	String en;
	String mmsi;
	boolean online;
	String speed;
	int x;
	int y;
	double shipLength=10;
	double shipWidth=5;

	public ShipItem()
	{
		online = true;
	}

	public ShipItem copy()
	{
		ShipItem ais_ship_po1 = new ShipItem();
		ais_ship_po1.setCn(getCn());
		ais_ship_po1.setCompany(getCompany());
		ais_ship_po1.setCourse(getCourse());
		ais_ship_po1.setEn(getEn());
		ais_ship_po1.setMmsi(getMmsi());
		ais_ship_po1.setOnline(isOnline());
		ais_ship_po1.setSpeed(getSpeed());
		ais_ship_po1.setX(getX());
		ais_ship_po1.setY(getY());
		ais_ship_po1.setShipLength(getShipLength());
		ais_ship_po1.setShipWidth(getShipWidth());
		return ais_ship_po1;
	}

	public String getCn()
	{
		return cn;
	}

	public String getCompany()
	{
		return company;
	}

	public String getCourse()
	{
		return course;
	}

	public String getEn()
	{
		return en;
	}

	public String getMmsi()
	{
		return mmsi;
	}

	public String getSpeed()
	{
		return speed;
	}
	
	public double getShipLength()
	{
		return shipLength;
	}

	public double getShipWidth()
	{
		return shipWidth;
	}
	
	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public boolean isOnline()
	{
		return online;
	}

	public void setCn(String s)
	{
		cn = s;
	}

	public void setCompany(String s)
	{
		company = s;
	}

	public void setCourse(String s)
	{
		course = s;
	}

	public void setEn(String s)
	{
		en = s;
	}

	public void setMmsi(String s)
	{
		mmsi = s;
	}

	public void setOnline(boolean flag)
	{
		online = flag;
	}

	public void setSpeed(String s)
	{
		speed = s;
	}

	public void setX(int i)
	{
		x = i;
	}

	public void setY(int i)
	{
		y = i;
	}
	
	public void setShipLength(double d)
	{
		shipLength = d;
	}

	public void setShipWidth(double d)
	{
		shipWidth = d;
	}
}
